package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 冷藏业务表Entity
 *
 * @author generator
 * @date 2020-03-12 17:08
 */
@MyTable(value = "ColdStorageEntity", name = "cold_storage", comment = "冷藏业务表")
public class ColdStorageEntity extends BaseEntity {
    /**
     * 业务编码
     */
    @MyColumn(value = "businessCode", name = "business_code", comment = "业务编码", required = true)
    private String businessCode;

    /**
     * 冷藏类型编码
     */
    @MyColumn(value = "equipmentTypeCode", name = "equipment_type_code", comment = "冷藏类型编码", required = true)
    private Integer equipmentTypeCode;

    /**
     * 冷藏设备外键
     */
    @MyColumn(value = "equipmentId", name = "equipment_id", comment = "冷藏设备外键")
    private Integer equipmentId;

    /**
     * 预约入藏时间
     */
    @MyColumn(value = "appointmentInTime", name = "appointment_in_time", comment = "预约入藏时间")
    private Date appointmentInTime;

    /**
     * 预约出藏时间
     */
    @MyColumn(value = "appointmentOutTime", name = "appointment_out_time", comment = "预约出藏时间")
    private Date appointmentOutTime;

    /**
     * 实际入藏时间
     */
    @MyColumn(value = "realityInTime", name = "reality_in_time", comment = "实际入藏时间")
    private Date realityInTime;

    /**
     * 实际出藏时间
     */
    @MyColumn(value = "realityOutTime", name = "reality_out_time", comment = "实际出藏时间")
    private Date realityOutTime;

    /**
     * 流程状态
     */
    @MyColumn(value = "processStateCode", name = "process_state_code", comment = "流程状态", required = true)
    private Integer processStateCode;

    /**
     * 规则数量
     */
    @MyColumn(value = "ruleNumber", name = "rule_number", comment = "规则数量", required = true)
    private BigDecimal ruleNumber;

    /**
     * 规则单位
     */
    @MyColumn(value = "ruleUnit", name = "rule_unit", comment = "规则单位", required = true)
    private String ruleUnit;

    /**
     * 规则编码
     */
    @MyColumn(value = "ruleCode", name = "rule_code", comment = "规则编码")
    private String ruleCode;

    /**
     * 规则备注
     */
    @MyColumn(value = "ruleRemark", name = "rule_remark", comment = "规则备注")
    private String ruleRemark;

    /**
     * 备注
     */
    @MyColumn(value = "remark", name = "remark", comment = "备注")
    private String remark;

    /**
     * 随机码
     */
    @MyColumn(value = "randomCode", name = "random_code", comment = "随机码")
    private String randomCode;

    /**
     * 费用外键
     */
    @MyColumn(value = "chargeId", name = "charge_id", comment = "费用外键")
    private Integer chargeId;

    /**
     * 冷藏办理人员
     */
    @MyColumn(value = "transactor", name = "transactor", comment = "冷藏办理人员")
    private String transactor;


    public String getTransactor() {
        return transactor;
    }

    public void setTransactor(String transactor) {
        this.transactor = transactor;
    }

    public String getBusinessCode() {
        return businessCode;
    }

    public ColdStorageEntity setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public Integer getEquipmentTypeCode() {
        return equipmentTypeCode;
    }

    public ColdStorageEntity setEquipmentTypeCode(Integer equipmentTypeCode) {
        this.equipmentTypeCode = equipmentTypeCode;
        return this;
    }

    public Integer getEquipmentId() {
        return equipmentId;
    }

    public ColdStorageEntity setEquipmentId(Integer equipmentId) {
        this.equipmentId = equipmentId;
        return this;
    }

    public Date getAppointmentInTime() {
        return appointmentInTime;
    }

    public ColdStorageEntity setAppointmentInTime(Date appointmentInTime) {
        this.appointmentInTime = appointmentInTime;
        return this;
    }

    public Date getAppointmentOutTime() {
        return appointmentOutTime;
    }

    public ColdStorageEntity setAppointmentOutTime(Date appointmentOutTime) {
        this.appointmentOutTime = appointmentOutTime;
        return this;
    }

    public Date getRealityInTime() {
        return realityInTime;
    }

    public ColdStorageEntity setRealityInTime(Date realityInTime) {
        this.realityInTime = realityInTime;
        return this;
    }

    public Date getRealityOutTime() {
        return realityOutTime;
    }

    public ColdStorageEntity setRealityOutTime(Date realityOutTime) {
        this.realityOutTime = realityOutTime;
        return this;
    }

    public Integer getProcessStateCode() {
        return processStateCode;
    }

    public ColdStorageEntity setProcessStateCode(Integer processStateCode) {
        this.processStateCode = processStateCode;
        return this;
    }

    public BigDecimal getRuleNumber() {
        return ruleNumber;
    }

    public ColdStorageEntity setRuleNumber(BigDecimal ruleNumber) {
        this.ruleNumber = ruleNumber;
        return this;
    }

    public String getRuleUnit() {
        return ruleUnit;
    }

    public ColdStorageEntity setRuleUnit(String ruleUnit) {
        this.ruleUnit = ruleUnit;
        return this;
    }

    public String getRuleCode() {
        return ruleCode;
    }

    public ColdStorageEntity setRuleCode(String ruleCode) {
        this.ruleCode = ruleCode;
        return this;
    }

    public String getRuleRemark() {
        return ruleRemark;
    }

    public ColdStorageEntity setRuleRemark(String ruleRemark) {
        this.ruleRemark = ruleRemark;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public ColdStorageEntity setRemark(String remark) {
        this.remark = remark;
        return this;
    }

    public String getRandomCode() {
        return randomCode;
    }

    public ColdStorageEntity setRandomCode(String randomCode) {
        this.randomCode = randomCode;
        return this;
    }

    public Integer getChargeId() {
        return chargeId;
    }

    public ColdStorageEntity setChargeId(Integer chargeId) {
        this.chargeId = chargeId;
        return this;
    }
}